\hypertarget{classPdo__Mysql}{\section{Pdo\-\_\-\-Mysql类 参考}
\label{classPdo__Mysql}\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}}
}
类 Pdo\-\_\-\-Mysql 继承关系图\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classPdo__Mysql}
\end{center}
\end{figure}
\subsection*{Public 成员函数}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classPdo__Mysql_abb12f49b853984f4476de4f413bdaab6}{connect} ()
\item 
\hypertarget{classPdo__Mysql_abecc4665413d54010b7f6b7c75845ac1}{{\bfseries query} (\$sql)}\label{classPdo__Mysql_abecc4665413d54010b7f6b7c75845ac1}

\item 
\hyperlink{classPdo__Mysql_a606b1b8b746ef50b370f1fc8dbd77134}{insert\-\_\-id} ()
\item 
\hyperlink{classPdo__Mysql_a4a1a4a10956a19d5a8e73ab51379587e}{execute} (\$sql)
\item 
\hyperlink{classPdo__Mysql_a712ba3154094592523c56d873719254a}{free\-\_\-reslut} ()
\item 
\hyperlink{classPdo__Mysql_a3b607ad1f9acd08b2f4c2e24615b445d}{affected\-\_\-rows} ()
\end{DoxyCompactItemize}
\subsection*{额外继承的成员函数}


\subsection{详细描述}
mysql pdo数据库操作类 \begin{DoxyAuthor}{作者}
七觞酒  \href{mailto:739800600@qq.com}{\tt 739800600@qq.\-com} 
\end{DoxyAuthor}
\begin{DoxyDate}{日期}
2013-\/1-\/19 
\end{DoxyDate}


\subsection{成员函数说明}
\hypertarget{classPdo__Mysql_a3b607ad1f9acd08b2f4c2e24615b445d}{\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}!affected\-\_\-rows@{affected\-\_\-rows}}
\index{affected\-\_\-rows@{affected\-\_\-rows}!Pdo_Mysql@{Pdo\-\_\-\-Mysql}}
\subsubsection[{affected\-\_\-rows}]{\setlength{\rightskip}{0pt plus 5cm}Pdo\-\_\-\-Mysql\-::affected\-\_\-rows (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPdo__Mysql_a3b607ad1f9acd08b2f4c2e24615b445d}
返回影响行数 \begin{DoxyReturn}{返回}
type 
\end{DoxyReturn}
\hypertarget{classPdo__Mysql_abb12f49b853984f4476de4f413bdaab6}{\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}!connect@{connect}}
\index{connect@{connect}!Pdo_Mysql@{Pdo\-\_\-\-Mysql}}
\subsubsection[{connect}]{\setlength{\rightskip}{0pt plus 5cm}Pdo\-\_\-\-Mysql\-::connect (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPdo__Mysql_abb12f49b853984f4476de4f413bdaab6}
连接数据库 \hypertarget{classPdo__Mysql_a4a1a4a10956a19d5a8e73ab51379587e}{\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}!execute@{execute}}
\index{execute@{execute}!Pdo_Mysql@{Pdo\-\_\-\-Mysql}}
\subsubsection[{execute}]{\setlength{\rightskip}{0pt plus 5cm}Pdo\-\_\-\-Mysql\-::execute (
\begin{DoxyParamCaption}
\item[{}]{\$sql}
\end{DoxyParamCaption}
)}}\label{classPdo__Mysql_a4a1a4a10956a19d5a8e73ab51379587e}
执行mysql 语句 \hypertarget{classPdo__Mysql_a712ba3154094592523c56d873719254a}{\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}!free\-\_\-reslut@{free\-\_\-reslut}}
\index{free\-\_\-reslut@{free\-\_\-reslut}!Pdo_Mysql@{Pdo\-\_\-\-Mysql}}
\subsubsection[{free\-\_\-reslut}]{\setlength{\rightskip}{0pt plus 5cm}Pdo\-\_\-\-Mysql\-::free\-\_\-reslut (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPdo__Mysql_a712ba3154094592523c56d873719254a}
释放资源 \begin{DoxyReturn}{返回}
boolean 
\end{DoxyReturn}
\hypertarget{classPdo__Mysql_a606b1b8b746ef50b370f1fc8dbd77134}{\index{Pdo\-\_\-\-Mysql@{Pdo\-\_\-\-Mysql}!insert\-\_\-id@{insert\-\_\-id}}
\index{insert\-\_\-id@{insert\-\_\-id}!Pdo_Mysql@{Pdo\-\_\-\-Mysql}}
\subsubsection[{insert\-\_\-id}]{\setlength{\rightskip}{0pt plus 5cm}Pdo\-\_\-\-Mysql\-::insert\-\_\-id (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{classPdo__Mysql_a606b1b8b746ef50b370f1fc8dbd77134}
获取最后一次添加数据的主键号 

该类的文档由以下文件生成\-:\begin{DoxyCompactItemize}
\item 
templi/\-Model/Pdo\-\_\-mysql.\-class.\-php\end{DoxyCompactItemize}
